import random


def generate_case():
    n = random.randint(1, 20)
    nums = [random.randint(1, 100) for _ in range(n)]
    return nums


def generate_test_cases(num_cases=10):
    test_cases = []
    for _ in range(num_cases):
        test_cases.append(generate_case())
    # Add edge cases
    test_cases.append([1, 5, 11, 5])  # True
    test_cases.append([1, 2, 3, 5])  # False
    test_cases.append([1, 1, 1, 1])  # True
    return test_cases


if __name__ == "__main__":
    test_cases = generate_test_cases()
    for case in test_cases:
        print(case)
